/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.zaahir.assignment2.LSPViolation.Impl;

/**
 *
 * @author Nashief
 */
public class CalArea {
 
 public double calArea(Rectangle r)
 {
     return(r.getLength()*r.getWidth());
 }
}
